<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.cppclass.CppClassPtrParameter</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.cppclass-module.html">Module&nbsp;cppclass</a> ::
        Class&nbsp;CppClassPtrParameter
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.cppclass.CppClassPtrParameter-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class CppClassPtrParameter</h1><span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter">source&nbsp;code</a></span><br /><br />
<center>
<center>  <map id="uml_class_diagram_for_pybindge_12" name="uml_class_diagram_for_pybindge_12">
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#CTYPES" title="pybindgen.cppclass.CppClassPtrParameter.CTYPES" alt="" coords="17,252,529,270"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#DIRECTIONS" title="pybindgen.cppclass.CppClassPtrParameter.DIRECTIONS" alt="" coords="17,270,529,289"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#cpp_class" title="pybindgen.cppclass.CppClassPtrParameter.cpp_class" alt="" coords="17,289,529,308"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#SUPPORTS_TRANSFORMATIONS" title="pybindgen.cppclass.CppClassPtrParameter.SUPPORTS_TRANSFORMATIONS" alt="" coords="17,308,529,326"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#__init__" title="ctype &#45;&#45; C type, normally &#39;MyClass*&#39; name &#45;&#45; parameter name" alt="" coords="17,329,529,348"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#convert_c_to_python" title="foo" alt="" coords="17,348,529,366"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#convert_python_to_c" title="parses python args to get C++ value" alt="" coords="17,366,529,385"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html" title="Class* handlers" alt="" coords="16,234,531,386"/>
<area shape="rect" href="pybindgen.cppclass.CppClassParameterBase&#45;class.html" title="Base class for all C++ Class parameter handlers" alt="" coords="199,173,348,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter.__metaclass__&#45;class.html" title="Metaclass for automatically registering parameter type handlers" alt="" coords="97,28,449,46"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#DIRECTION_INOUT" title="pybindgen.typehandlers.base.Parameter.DIRECTION_INOUT" alt="" coords="97,46,449,65"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#DIRECTION_OUT" title="pybindgen.typehandlers.base.Parameter.DIRECTION_OUT" alt="" coords="97,65,449,84"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#DIRECTION_IN" title="pybindgen.typehandlers.base.Parameter.DIRECTION_IN" alt="" coords="97,84,449,102"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#new" title="pybindgen.typehandlers.base.Parameter.new" alt="" coords="97,105,449,124"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#set_tranformation" title="Set the type transformation to use in this type handler" alt="" coords="97,124,449,142"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html" title="Abstract base class for all classes dedicated to handle specific parameter types" alt="" coords="96,10,451,144"/>
</map>
  <img src="uml_class_diagram_for_pybindge_12.gif" alt='' usemap="#uml_class_diagram_for_pybindge_12" ismap="ismap" class="graph-without-title" />
</center></center>
<hr />
Class* handlers<br /><br />

<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Nested Classes</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter.__metaclass__-class.html">__metaclass__</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppclass.CppClassPtrParameter-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ctype</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">transfer_ownership</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">custodian</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">is_const</span>=<span class="summary-sig-default">False</span>)</span><br />
      ctype -- C type, normally 'MyClass*' name -- parameter name</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___9-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___9-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___9" name="call_graph_for___init___9">
<area shape="rect" href="pybindgen.cppclass.CppClassParameterBase&#45;class.html#__init__" title="CppClassParameterBase.__init__()" alt="" coords="479,6,761,38"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#__init__" title="__init__()" alt="" coords="333,6,429,38"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#new" title="typehandlers.base.Parameter.new()" alt="" coords="7,6,284,38"/>
</map>
  <img src="call_graph_for___init___9.gif" alt='' usemap="#call_graph_for___init___9" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppclass.CppClassPtrParameter-class.html#convert_python_to_c" class="summary-sig-name">convert_python_to_c</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>)</span><br />
      parses python args to get C++ value</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter.convert_python_to_c">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_python__2-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_convert_python__2-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_python__2" name="call_graph_for_convert_python__2">
<area shape="rect" href="pybindgen.cppclass.CppClass&#45;class.html#get_pystruct" title="CppClass.get_pystruct()" alt="" coords="873,6,1079,38"/>
<area shape="rect" href="pybindgen.cppclass.CppClass&#45;class.html#write_incref" title="CppClass.write_incref()" alt="" coords="876,62,1076,94"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#convert_python_to_c" title="convert_python_to_c()" alt="" coords="505,146,700,178"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock&#45;class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="804,118,1148,150"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope&#45;class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="759,174,1193,206"/>
<area shape="rect" href="pybindgen.typehandlers.base.NullTypeTransformation&#45;class.html#transform" title="typehandlers.base.NullTypeTransformation.transform()" alt="" coords="760,230,1192,262"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters&#45;class.html#add_parameter" title="typehandlers.base.ParseTupleParameters.add_parameter()" alt="" coords="749,286,1203,318"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase&#45;class.html#generate_body" title="typehandlers.base.ForwardWrapperBase.generate_body()" alt="" coords="5,146,456,178"/>
</map>
  <img src="call_graph_for_convert_python__2.gif" alt='' usemap="#call_graph_for_convert_python__2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppclass.CppClassPtrParameter-class.html#convert_c_to_python" class="summary-sig-name">convert_c_to_python</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>)</span><br />
      foo</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter.convert_c_to_python">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_c_to_py_2-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_convert_c_to_py_2-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_c_to_py_2" name="call_graph_for_convert_c_to_py_2">
<area shape="rect" href="pybindgen.cppclass.CppClass&#45;class.html#get_pystruct" title="CppClass.get_pystruct()" alt="" coords="821,6,1027,38"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#convert_c_to_python" title="convert_c_to_python()" alt="" coords="455,62,649,94"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope&#45;class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="707,62,1141,94"/>
<area shape="rect" href="pybindgen.typehandlers.base.NullTypeTransformation&#45;class.html#untransform" title="typehandlers.base.NullTypeTransformation.untransform()" alt="" coords="700,118,1148,150"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase&#45;class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="7,62,404,94"/>
</map>
  <img src="call_graph_for_convert_c_to_py_2.gif" alt='' usemap="#call_graph_for_convert_c_to_py_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#set_tranformation">set_tranformation</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS METHODS ==================== -->
<a name="section-ClassMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Methods</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#new">new</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Variables</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="CTYPES"></a><span class="summary-name">CTYPES</span> = <code title="[]">[]</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cpp_class"></a><span class="summary-name">cpp_class</span> = <code title="&lt;pybindgen.CppClass None&gt;">&lt;pybindgen.CppClass None&gt;</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DIRECTIONS"></a><span class="summary-name">DIRECTIONS</span> = <code title="[Parameter.DIRECTION_IN]">[Parameter.DIRECTION_IN]</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SUPPORTS_TRANSFORMATIONS"></a><span class="summary-name">SUPPORTS_TRANSFORMATIONS</span> = <code title="True">True</code>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_IN">DIRECTION_IN</a></code>,
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_INOUT">DIRECTION_INOUT</a></code>,
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_OUT">DIRECTION_OUT</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">ctype</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">transfer_ownership</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">custodian</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">is_const</span>=<span class="sig-default">False</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___9-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </table>
  <div style="display:none" id="call_graph_for___init___9-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___9" name="call_graph_for___init___9">
<area shape="rect" href="pybindgen.cppclass.CppClassParameterBase&#45;class.html#__init__" title="CppClassParameterBase.__init__()" alt="" coords="479,6,761,38"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#__init__" title="__init__()" alt="" coords="333,6,429,38"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter&#45;class.html#new" title="typehandlers.base.Parameter.new()" alt="" coords="7,6,284,38"/>
</map>
  <img src="call_graph_for___init___9.gif" alt='' usemap="#call_graph_for___init___9" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  ctype -- C type, normally 'MyClass*' name -- parameter name
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>ctype</code></strong> - C type, normally 'MyClass*'</li>
        <li><strong class="pname"><code>name</code></strong> - parameter name</li>
        <li><strong class="pname"><code>transfer_ownership</code></strong> - this parameter transfer the ownership of the pointed-to object
          to the called function; should be omitted if custodian is 
          given.</li>
        <li><strong class="pname"><code>custodian</code></strong> - the object (custodian) that is responsible for managing the 
          life cycle of the parameter. Possible values are:
          <ul>
            <li>
              None: no object is custodian;
            </li>
            <li>
              -1: the return value object;
            </li>
            <li>
              0: the instance of the method in which
            </li>
          </ul>
          the ReturnValue is being used will become the custodian;
          <ul>
            <li>
              integer &gt; 0: parameter number, starting at 1
            </li>
          </ul>
          (i.e. not counting the self/this parameter), whose object will
          be used as custodian.</li>
        <li><strong class="pname"><code>is_const</code></strong> - if true, the parameter has a const attached to the 
          leftmost</li>
    </ul></dd>
    <dt>Overrides:
      <a href="pybindgen.cppclass.CppClassParameterBase-class.html#__init__">CppClassParameterBase.__init__</a>
    </dt>
  </dl>
<div class="fields">      <p><strong>Note:</strong>
        only arguments which are instances of C++ classes wrapped by 
        PyBindGen can be used as custodians.
      </p>
</div></td></tr></table>
</div>
<a name="convert_python_to_c"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">convert_python_to_c</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter.convert_python_to_c">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_python__2-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </table>
  <div style="display:none" id="call_graph_for_convert_python__2-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_python__2" name="call_graph_for_convert_python__2">
<area shape="rect" href="pybindgen.cppclass.CppClass&#45;class.html#get_pystruct" title="CppClass.get_pystruct()" alt="" coords="873,6,1079,38"/>
<area shape="rect" href="pybindgen.cppclass.CppClass&#45;class.html#write_incref" title="CppClass.write_incref()" alt="" coords="876,62,1076,94"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#convert_python_to_c" title="convert_python_to_c()" alt="" coords="505,146,700,178"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock&#45;class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="804,118,1148,150"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope&#45;class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="759,174,1193,206"/>
<area shape="rect" href="pybindgen.typehandlers.base.NullTypeTransformation&#45;class.html#transform" title="typehandlers.base.NullTypeTransformation.transform()" alt="" coords="760,230,1192,262"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters&#45;class.html#add_parameter" title="typehandlers.base.ParseTupleParameters.add_parameter()" alt="" coords="749,286,1203,318"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase&#45;class.html#generate_body" title="typehandlers.base.ForwardWrapperBase.generate_body()" alt="" coords="5,146,456,178"/>
</map>
  <img src="call_graph_for_convert_python__2.gif" alt='' usemap="#call_graph_for_convert_python__2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  parses python args to get C++ value
  <dl class="fields">
    <dt>Overrides:
      <a href="pybindgen.typehandlers.base.Parameter-class.html#convert_python_to_c">typehandlers.base.Parameter.convert_python_to_c</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="convert_c_to_python"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">convert_c_to_python</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppclass-pysrc.html#CppClassPtrParameter.convert_c_to_python">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_c_to_py_2-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </table>
  <div style="display:none" id="call_graph_for_convert_c_to_py_2-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_c_to_py_2" name="call_graph_for_convert_c_to_py_2">
<area shape="rect" href="pybindgen.cppclass.CppClass&#45;class.html#get_pystruct" title="CppClass.get_pystruct()" alt="" coords="821,6,1027,38"/>
<area shape="rect" href="pybindgen.cppclass.CppClassPtrParameter&#45;class.html#convert_c_to_python" title="convert_c_to_python()" alt="" coords="455,62,649,94"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope&#45;class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="707,62,1141,94"/>
<area shape="rect" href="pybindgen.typehandlers.base.NullTypeTransformation&#45;class.html#untransform" title="typehandlers.base.NullTypeTransformation.untransform()" alt="" coords="700,118,1148,150"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase&#45;class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="7,62,404,94"/>
</map>
  <img src="call_graph_for_convert_c_to_py_2.gif" alt='' usemap="#call_graph_for_convert_c_to_py_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  foo
  <dl class="fields">
    <dt>Overrides:
      <a href="pybindgen.typehandlers.base.Parameter-class.html#convert_c_to_python">typehandlers.base.Parameter.convert_c_to_python</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0beta1 on Fri Jul 11 12:58:41 2008
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
